package com.toprs.base.exception

class CustomException(var code: Int, msg: String) : RuntimeException(msg) {

    constructor() : this(500, msg = "服务器错误")

    constructor(msg: String) : this(500, msg)

}